package com.sdp.wx.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sdp.core.bizc.db.Query;
import com.sdp.core.bizc.vo.DataCenter;
import com.sdp.core.bizc.vo.Result;
import com.sdp.wx.db.wx_wz_output_detail.entity.WxWzOutputDetail;
import com.sdp.wx.db.wx_wz_output_detail.service.IWxWzOutputDetailService;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zsp
 * @since 2024-01-30
 */
@RestController
@RequestMapping("/WxWzOutputDetailController")
public class WxWzOutputDetailController {

	@Autowired
	private Query query;
	
	@Autowired
	private IWxWzOutputDetailService iWxWzOutputDetailService;
	
	@PostMapping(value = "/page")
	public Result<?> page(@RequestBody DataCenter dataCenter) {
		return Result.ok(query.page(iWxWzOutputDetailService, WxWzOutputDetail.class, dataCenter));
	}
	
}

